package com.jiuxian.scheduling.commons;

/**
 * Created by wangjingqing on 2017/11/16.
 * 错误类型
 * @author wangjingqing
 */
public enum ErrorType {


    parameter_error("100001","参数错误!"),
    excption_error("100002","系统异常"),
    operation_error("100003","操作异常");

    String code;
    String msg;
    ErrorType(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
